package cn.iocoder.yudao.module.hs.controller.admin.materiallog.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 物料日志 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MaterialLogRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "27668")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "11836")
    @ExcelProperty("用户编号")
    private Long userId;

    @Schema(description = "物料编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "9454")
    @ExcelProperty("物料编号")
    private Long materialId;

    @Schema(description = "物料名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "9454")
    @ExcelProperty("物料名称")
    private String materialName;

    @Schema(description = "产品码", requiredMode = Schema.RequiredMode.REQUIRED, example = "9454")
    @ExcelProperty("产品码")
    private String materialCode;

    @Schema(description = "物料物料代码", requiredMode = Schema.RequiredMode.REQUIRED, example = "9454")
    @ExcelProperty("物料代码")
    private String materialModeCode;

    @Schema(description = "工单号", requiredMode = Schema.RequiredMode.REQUIRED, example = "9454")
    @ExcelProperty("工单号")
    private String workOrderNo;
    
    @Schema(description = "仓库id", requiredMode = Schema.RequiredMode.REQUIRED, example = "9454")
    @ExcelProperty("仓库id")
    private Long warehouseId;

    @Schema(description = "操作类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("操作类型")
    private Integer operateType;

    @Schema(description = "操作内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("操作内容")
    private String content;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "物料箱码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("物料箱码")
    private String materialBoxCode;

    @Schema(description = "托盘码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("托盘码")
    private String materialTrayCode;
}